package com.mall.shopping.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 *  ciggar
 * create-date: 2019/7/23-19:01
 */

public class CartProductDto implements Serializable {
    private static final long serialVersionUID = -809047960626248847L;

    private Long productId;

    private BigDecimal salePrice;

    private Long productNum;

    private Long limitNum;

    private String checked;

    private String productName;

    private String productImg;


    @Override
    public String toString() {
        return "CartProductDto{" +
                "productId=" + productId +
                ", salePrice=" + salePrice +
                ", productNum=" + productNum +
                ", limitNum=" + limitNum +
                ", checked='" + checked + '\'' +
                ", productName='" + productName + '\'' +
                ", productImg='" + productImg + '\'' +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getProductId() {
        return productId;
    }

    public CartProductDto setProductId(Long productId) {
        this.productId = productId;
        return this;
    }

    public BigDecimal getSalePrice() {
        return salePrice;
    }

    public CartProductDto setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
        return this;
    }

    public Long getProductNum() {
        return productNum;
    }

    public CartProductDto setProductNum(Long productNum) {
        this.productNum = productNum;
        return this;
    }

    public Long getLimitNum() {
        return limitNum;
    }

    public CartProductDto setLimitNum(Long limitNum) {
        this.limitNum = limitNum;
        return this;
    }

    public String getChecked() {
        return checked;
    }

    public CartProductDto setChecked(String checked) {
        this.checked = checked;
        return this;
    }

    public String getProductName() {
        return productName;
    }

    public CartProductDto setProductName(String productName) {
        this.productName = productName;
        return this;
    }

    public String getProductImg() {
        return productImg;
    }

    public CartProductDto setProductImg(String productImg) {
        this.productImg = productImg;
        return this;
    }
}
